package com.kindness.frate.widget;

import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.util.Log;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.ViewGroup;

import com.kindnesslibrary.util.WidgetUtil;

/**
 * Created by Administrator on 2017/7/28 0028.
 * 加入阻尼效果
 */
public class DampRecyclerView extends RecyclerView {

    public DampRecyclerView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public boolean fling(int velocityX, int velocityY) {
        return super.fling(velocityX, velocityY / 3);
    }
}
